package com.taojiazheng.daoImpl.myCreate;

import com.taojiazheng.dao.myCreate.MyCreateDao;
import com.taojiazheng.mapper.MycreateMapper;
import com.taojiazheng.vo.myCreate.MyCreateVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author 赵成林
 * @date 2017/12/23 16:27
 */
@Repository
public class MyCreateDaoImpl implements MyCreateDao {
    @Autowired
    private MycreateMapper mycreateMapper;
    public List<MyCreateVo> getMycreates(Integer userId) {
        //return null;
        return mycreateMapper.getMyCreates(userId);
    }
}
